package org.framework.server.util.dao.sql;

public enum Logic {
	NULL(""),
	WHERE("WHERE"),
	HAVING("HAVING"),
	AND("AND"),
	OR("OR"),
	AND_NOT("AND NOT"),
	OR_NOT("OR NOT");
	
	public enum Sort {
		ASC("ASC"),
		DESC("DESC");
		
		private final String logic;
		
		private Sort(String logic) {
			this.logic = logic;
		}
		
		public String getLogic() {
			return logic;
		}
	}
	
	private final String logic;
	
	private Logic(String logic) {
		this.logic = logic;
	}

	public String getLogic() {
		return logic;
	}

}
